					<div class="row-1">
						<h3><span>1</span>Book Visa</h3>
                        <div class="box-bottom">                        	
                            <p>
                            	<label>Number of visa : <span class="request">*</span></label>
                                <select name="numberVisa">
                                	<?php db_get_number_of_visa($_SESSION['booking_hote_data']['numberVisa']);?>
                                </select>
                            </p>
                            <p>
                            	<label>Type of visa : <span class="request">*</span></label>
                                <select name="typeVisa">
                                	<?php db_get_type_of_visa($_SESSION['booking_hote_data']['typeVisa']);?>
                                </select>
                            </p>
                            <p>
                            	<label>Purpose of visit : <span class="request">*</span></label>
                                <select name="purpose">
                                	<?php db_purpose_of_visit($_SESSION['booking_hote_data']['purpose']);?>
                                </select>
                            </p>
                            <p>
                            	<label>Processing time : <span class="request">*</span></label>
                                <input type="radio" <?php if($_SESSION['booking_hote_data']['precessingtime'] == "Normal") echo 'checked="checked"';?> name="precessingtime" value="Normal"/>
                                <span class="label">Normal (Guaranteed 2 working days)</span>
                            </p>
                            <p>
                            	<label></label>
                                <input type="radio" <?php if($_SESSION['booking_hote_data']['precessingtime'] == "Urgent") echo 'checked="checked"';?> name="precessingtime" value="Urgent" />
                                <span class="label">Urgent (Guaranteed 1 working day)</span>
                            </p>
                            <p>
                            	<label></label>
                                <input type="radio" <?php if($_SESSION['booking_hote_data']['precessingtime'] == "Super urgent") echo 'checked="checked"';?> name="precessingtime" value="Super urgent"/>
                                <span class="label">Super urgent (4 working hours )</span>
                            </p>
                            <p>
                            	<label>Date arrival (mm/dd/yy) : <span class="request">*</span></label>
                                <?php
                            	if(isset($_SESSION['booking_hote_data']) && $_SESSION['booking_hote_data']['dy_date_arrival']!=null)
                            	{
                            		$newDate_ID 	= $_SESSION['booking_hote_data']['dy_date_arrival'];
                            		$newDate_IM 	= $_SESSION['booking_hote_data']['mo_date_arrival'];
                            		$newDate_IY 	= $_SESSION['booking_hote_data']['yr_date_arrival'];            		
                            		
                            	}
                            	else 
                            	{
                            		 			$originalDate = date('Y-m-d h:i:s');                                                
                                                $newDate_IY = date("Y", strtotime($originalDate));
                                                $newDate_IM = date("m", strtotime($originalDate));
                                                $newDate_ID = date("d", strtotime($originalDate));
                            	}
                                                                                    
                                            ?>
                                            <?php
                                            $date = date('Y');
                                            ?>
                                <select name="dy_date_arrival" id="dy_date_arrival">
                                	<?php
                    							for($i = 1;$i<=30;$i++)
                    							{
                    								if($i == $newDate_ID)
                    								{
                    								?>
                    									<option selected="selected" value="<?php echo $i;?>"><?php echo $i;?></option>
                    								<?php	
                    								}
                    								else 
                    								{
                    							?>
                    								<option value="<?php echo $i;?>"><?php echo $i;?></option>
                    							<?php
                    								} 								
                    							}	 
                    							?>	
                                </select>
                                <select name="mo_date_arrival" id="mo_date_arrival">
                                	<option <?php if($newDate_IM == 1) echo 'selected="selected"';?> value="01">January </option>
                                                <option <?php if($newDate_IM == 2) echo 'selected="selected"';?> value="02">February </option>
                                                <option <?php if($newDate_IM == 3) echo 'selected="selected"';?> value="03">March </option>
                                                <option <?php if($newDate_IM == 4) echo 'selected="selected"';?> value="04">April </option>
                                                <option <?php if($newDate_IM == 5) echo 'selected="selected"';?> value="05">May </option>
                                                <option <?php if($newDate_IM == 6) echo 'selected="selected"';?> value="06">June </option>
                                                <option <?php if($newDate_IM == 7) echo 'selected="selected"';?> value="07">July </option>
                                                <option <?php if($newDate_IM == 8) echo 'selected="selected"';?> value="08">August </option>
                                                <option <?php if($newDate_IM == 9) echo 'selected="selected"';?> value="09">September </option>
                                                <option <?php if($newDate_IM == 10) echo 'selected="selected"';?> value="10">October </option>
                                                <option <?php if($newDate_IM == 11) echo 'selected="selected"';?> value="11">November </option>
                                                <option <?php if($newDate_IM == 12) echo 'selected="selected"';?> value="12">December </option>
                                </select>
                                <select name="yr_date_arrival" id="yr_date_arrival">
                                	<?php                    								
                    								for($y = $date; $y <= $date+5 ; $y++)
                    								{
                    									if($y == $newDate_IY)
                    									{
                    									?>
                    										<option selected="selected" value="<?php echo $y;?>"> <?php echo $y;?> </option>
                    									<?php 										
                    									}
                    									else 
                    									{
                    									?>
                    										<option value="<?php echo $y;?>"> <?php echo $y;?> </option>
                    									<?php 	
                    									}					
                    								}				
                    							?>
                                </select>
                                <label id="contact_error_check_arrival" class="contact_error">*</label>
                            </p>
                            <p>
                            	<label>Date of exit (mm/dd/yy) : <span class="request">*</span></label>
                                <?php
                            	if(isset($_SESSION['booking_hote_data']) && $_SESSION['booking_hote_data']['dy_date_exit']!=null)
                            	{
                            		$newDate_ID 	= $_SESSION['booking_hote_data']['dy_date_exit'];
                            		$newDate_IM 	= $_SESSION['booking_hote_data']['mo_date_exit'];
                            		$newDate_IY 	= $_SESSION['booking_hote_data']['yr_date_exit'];            		
                            		
                            	}
                            	else 
                            	{
                            		 $originalDate = date('Y-m-d h:i:s');                                                
                                                $newDate_IY = date("Y", strtotime($originalDate));
                                                $newDate_IM = date("m", strtotime($originalDate));
                                                $newDate_ID = date("d", strtotime($originalDate));
                            	}
                                                                                    
                                            ?>
                                            <?php
                                            $date = date('Y');
                                            ?>
                                <select name="dy_date_exit" id="dy_date_exit">
                                	<?php
                    							for($i = 1;$i<=30;$i++)
                    							{
                    								if($i == $newDate_ID)
                    								{
                    								?>
                    									<option selected="selected" value="<?php echo $i;?>"><?php echo $i;?></option>
                    								<?php	
                    								}
                    								else 
                    								{
                    							?>
                    								<option value="<?php echo $i;?>"><?php echo $i;?></option>
                    							<?php
                    								} 								
                    							}	 
                    							?>	
                                </select>
                                <select name="mo_date_exit" id="mo_date_exit">
                                	<option <?php if($newDate_IM == 1) echo 'selected="selected"';?> value="01">January </option>
                                                <option <?php if($newDate_IM == 2) echo 'selected="selected"';?> value="02">February </option>
                                                <option <?php if($newDate_IM == 3) echo 'selected="selected"';?> value="03">March </option>
                                                <option <?php if($newDate_IM == 4) echo 'selected="selected"';?> value="04">April </option>
                                                <option <?php if($newDate_IM == 5) echo 'selected="selected"';?> value="05">May </option>
                                                <option <?php if($newDate_IM == 6) echo 'selected="selected"';?> value="06">June </option>
                                                <option <?php if($newDate_IM == 7) echo 'selected="selected"';?> value="07">July </option>
                                                <option <?php if($newDate_IM == 8) echo 'selected="selected"';?> value="08">August </option>
                                                <option <?php if($newDate_IM == 9) echo 'selected="selected"';?> value="09">September </option>
                                                <option <?php if($newDate_IM == 10) echo 'selected="selected"';?> value="10">October </option>
                                                <option <?php if($newDate_IM == 11) echo 'selected="selected"';?> value="11">November </option>
                                                <option <?php if($newDate_IM == 12) echo 'selected="selected"';?> value="12">December </option>
                                </select>
                                <select name="yr_date_exit" id="yr_date_exit">
                                	<?php                    								
                    								for($y = $date; $y <= $date+5 ; $y++)
                    								{
                    									if($y == $newDate_IY)
                    									{
                    									?>
                    										<option selected="selected" value="<?php echo $y;?>"> <?php echo $y;?> </option>
                    									<?php 										
                    									}
                    									else 
                    									{
                    									?>
                    										<option value="<?php echo $y;?>"> <?php echo $y;?> </option>
                    									<?php 	
                    									}					
                    								}				
                    							?>
                                </select>
                                <label id="contact_error_check_exit" class="contact_error">*</label>
                            </p>
                            <p>
                            	<label>Arrival aiport : <span class="request">*</span></label>
                                <select name="arrivalAirport">
                                	<?php db_get_arrival_airport($_SESSION['booking_hote_data']['arrivalAirport']);?>
                                </select>
                            </p>                                                     
                            <p>
                       	    <label>Flight number : <span class="request">*</span></label>
                                <input type="radio" <?php if($_SESSION['booking_hote_data']['flightnumber'] == "Booked") echo 'checked="checked"';?> name="flightnumber" value="Booked"/>
                                <span class="label">Booked (Recommend)</span>
                            </p>
                            <p>
                            	<label></label>
                                <input type="radio" <?php if($_SESSION['booking_hote_data']['flightnumber'] == "Not booked") echo 'checked="checked"';?> name="flightnumber" value="Not booked"/>
                                <span class="label">Not booked yet</span>
                                
                                <input type="hidden" name="hidden_payment" value="">
                                 <input type="hidden" name="hidden_visa_price" value="0">
                                  <input type="hidden" name="hidden_visa_deposit" value="0">
                                   <input type="hidden" name="hidden_payment_curent" value="0">
                            </p>
                    </div>                  	
                    </div>
                    <div class="row-5">
						<h3><span>*</span>Guest Infomation</h3>
						<div class="customer-box">                           
                            	<div class="title">
                            		<p style="width: 11%;">Customer</p>
                            		<p style="width: 31%;">Full name</p>                            		
                            		<p style="width: 20%;">Passport</p>
                            		<p class="visa_expiration">Expiration</p>
                            	</div>
                            	<?php                                                 
                                     $date = date('Y');                                    
                                ?>
                            	<?php
                            	for ($j=1 ; $j<=5 ; $j++)
                            	{                             			
                            	?>
                            	<div class="box-items">
                            		<p class="cus-item">Customer<?php echo $j;?></p>
                            		<p class="name-item"><input type="text" name="fullname<?php echo $j;?>" value="<?php echo $_SESSION['booking_hote_data']['fullname'.$j];?>"></p>                            		
                            		<p class="pass-item"><input type="text" name="passport<?php echo $j;?>" value="<?php echo $_SESSION['booking_hote_data']['passport'.$j];?>"></p>
                            		<p class="visa_expiration">  
                            				<?php
                            				if(isset($_SESSION['booking_hote_data']) && $_SESSION['booking_hote_data']['update_INyr'.$j]!=null)
			                            	{
			                            		$newDate_ID 	= $_SESSION['booking_hote_data']['update_INyr'.$j];
			                            		$newDate_IM 	= $_SESSION['booking_hote_data']['update_INmo'.$j];
			                            		$newDate_IY 	= $_SESSION['booking_hote_data']['update_INdy'.$j];            		
			                            		
			                            	}
			                            	else 
			                            	{
                            				
                                                $originalDate = date('Y-m-d H:i:s');
                                                //echo $originalDate;
                                                
                                                $newDate_IY = date("Y", strtotime($originalDate));
                                                $newDate_IM = date("m", strtotime($originalDate));
                                                $newDate_ID = date("d", strtotime($originalDate));                     
                                                
                                                //echo $newDate_IY;
			                            	}
                                            ?>                          			
                    						<select  name="update_INyr<?php echo $j;?>" id="update_INyr<?php echo $j;?>">
	                    						<?php                    								
                    								for($y = $date; $y <= $date+5 ; $y++)
                    								{
                    									if($y == $newDate_IY)
                    									{
                    									?>
                    										<option selected="selected" value="<?php echo $y;?>"> <?php echo $y;?> </option>
                    									<?php 										
                    									}
                    									else 
                    									{
                    									?>
                    										<option value="<?php echo $y;?>"> <?php echo $y;?> </option>
                    									<?php 	
                    									}					
                    								}				
                    							?>	
                    						</select>
                                            
                                            
                    						<select  name="update_INmo<?php echo $j;?>" id="update_INmo<?php echo $j;?>">
                    							<option <?php if($newDate_IM == 1) echo 'selected="selected"';?> value="01">January </option>
                                                <option <?php if($newDate_IM == 2) echo 'selected="selected"';?> value="02">February </option>
                                                <option <?php if($newDate_IM == 3) echo 'selected="selected"';?> value="03">March </option>
                                                <option <?php if($newDate_IM == 4) echo 'selected="selected"';?> value="04">April </option>
                                                <option <?php if($newDate_IM == 5) echo 'selected="selected"';?> value="05">May </option>
                                                <option <?php if($newDate_IM == 6) echo 'selected="selected"';?> value="06">June </option>
                                                <option <?php if($newDate_IM == 7) echo 'selected="selected"';?> value="07">July </option>
                                                <option <?php if($newDate_IM == 8) echo 'selected="selected"';?> value="08">August </option>
                                                <option <?php if($newDate_IM == 9) echo 'selected="selected"';?> value="09">September </option>
                                                <option <?php if($newDate_IM == 10) echo 'selected="selected"';?> value="10">October </option>
                                                <option <?php if($newDate_IM == 11) echo 'selected="selected"';?> value="11">November </option>
                                                <option <?php if($newDate_IM == 12) echo 'selected="selected"';?> value="12">December </option>
                    						</select>
                                            
                                            <select  name="update_INdy<?php echo $j;?>" id="update_INdy<?php echo $j;?>">
                    							<?php
                    							for($i = 1;$i<=30;$i++)
                    							{
                    								if($i == $newDate_ID)
                    								{
                    								?>
                    									<option selected="selected" value="<?php echo $i;?>"><?php echo $i;?></option>
                    								<?php	
                    								}
                    								else 
                    								{
                    							?>
                    								<option value="<?php echo $i;?>"><?php echo $i;?></option>
                    							<?php
                    								} 								
                    							}	 
                    							?>												 
                    						</select> 
                            		</p>
                            	</div>                        	
                            	<?php
                            	} 
                            	?>	                         
                       </div>
                       
					</div>	